﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Domain.Entity;
using FluentNHibernate.Mapping;


namespace PropertyManagement.Domain.Mapping.FluentHibernate
{
    public class PassengerDetailsMap : ClassMap<PassengerDetails>
    {
        public PassengerDetailsMap()
        {
            Table("PassengerDetails");
            Id(x => x.ID).Column("ID").GeneratedBy.Identity();
            Map(x => x.PassengerName).Column("PassengerName");
            Map(x => x.FlightNo).Column("FlightNo");
            Map(x => x.MobileNo).Column("MobileNo");
            Map(x => x.OtherInfo).Column("OtherInfo");   
        }
    }
}
